From f4d1246700b220829920356860c5b6b95fe34e57 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Javier=20Jard=C3=B3n?= Date: Tue, 21 Jul 2009 01:45:43 +0200 Subject: [PATCH] Suggesto to use Glade instead gtk-builder-convert script (GnomeBug:587337) * docs/reference/gtk/migrating-GtkBuilder.sgml --- docs/reference/gtk/migrating-GtkBuilder.sgml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/docs/reference/gtk/migrating-GtkBuilder.sgml b/docs/reference/gtk/migrating-GtkBuilder.sgml index 66a95cd94e..93a0bb6345 100644 --- a/docs/reference/gtk/migrating-GtkBuilder.sgml +++ b/docs/reference/gtk/migrating-GtkBuilder.sgml @@ -13,21 +13,18 @@ - A good way to start a migration from libglade to GtkBuilder is - to run the gtk-builder-convert - utility on your glade file, and inspect the resulting output. - If your code uses the @root parameter of glade_xml_new(), you - may want to split your glade file into multiple GtkBuilder files - by using the option of - gtk-builder-convert. Alternatively, you - can use gtk_builder_add_objects_from_file() to construct only certain + A good way to start a migration from libglade to GtkBuilder is using + glade3 to convert your .glade file. + If your code uses the @root parameter of glade_xml_new(), + you can use gtk_builder_add_objects_from_file() to construct only certain objects from a GtkBuilder file. - Alternatively, you can open the glade file with - glade3 and then save it in GtkBuilder - format. This is supported by glade3 since version 3.6. + Alternatively, GTK+ also offers the + gtk-builder-convert script to + do the conversion; in which case you should be careful to inspect the output + and make sure you didn't lose any data. -- 2.30.2